#!/usr/bin/python

#url = 'http://www.something.com'
url = input('Please enter the URL: ')

domain = url[:]
domain2 = url[:4]
domain3 = url[-3:]

print("domain name: " + domain)
print("domain3 name: " + domain3)
print("domain2 name: " + domain2)
